<template>
    <div class="loading-container">
        <div class="loading-spinner"></div>
        <div style="margin-top: 20px; color:var(--el-color-primary-light-3);">Loading...</div>
    </div>
</template>

<script setup lang="ts">
// 这里是 LoadingComponent 的逻辑，如果需要的话
</script>

<style scoped>
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--el-bg-color-overlay);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--el-fill-color);
    border-top: 5px solid var(--el-color-primary-light-3);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
</style>